ExamPlay Light Logo
Đăng nhập

Computer Science for IGCSE & O level - Programming (Section 8 - No. 23)

Which is the core feature that differentiates a function from a procedure?
Functions are always shorter.
Functions always return a value.
Procedures are always more complex.
Procedures return a value, and functions do not.

Giải thích

Functions are designed to return a value to the part of the program that called them.

Bình luận (0)

Đăng nhập để bình luận
Quảng cáo
BrainBehindX Inc Logo
©2026; Được cung cấp bởi BrainBehindX Inc